package com.cyj.mapper.service;

import com.cyj.mapper.entity.Employee;
import org.apache.ibatis.session.RowBounds;
import tk.mybatis.mapper.entity.Example;

import java.util.List;

/**
 * @description:
 * @Author C_Y_J
 * @create 2021-03-12 17:36
 **/
public interface EmployeeService {

    public Employee getOne(Employee employeeQueryCondition);

    public Employee getEmployeeById(Integer empId);

    public boolean isExists(Integer empId);

    public void saveEmployee(Employee employee);

    public void saveEmployeeSelective(Employee employee);

    public void updateEmployeeSelective(Employee employee);

    public void removeEmployee(Employee employee);

    public void removeEmployeeById(Integer empId);

    public List<Employee> getEmpListByExample(Example example);

    public List<Employee> getEmpListByRowBounds(RowBounds rowBounds);

}
